package com.example.esp8266.activity.bean;

import androidx.annotation.NonNull;

/**
 * @Author lgd
 * @Date 2024/5/6 13:38
 */
public class Product {
    private Integer productId;
    private String productName;
    private String productPrice;
    private String productWeight;
    private Integer productNumber;
    private String productTotal;

    public Product(){}

    public Product(Integer productId, String productName, String productPrice, String productWeight, Integer productNumber, String productTotal) {
        this.productId = productId;
        this.productName = productName;
        this.productPrice = productPrice;
        this.productWeight = productWeight;
        this.productNumber = productNumber;
        this.productTotal = productTotal;
    }

    public Product(String productName, String productPrice, String productWeight,String productTotal){
        this.productName = productName;
        this.productPrice = productPrice;
        this.productWeight = productWeight;
        this.productTotal = productTotal;
    }

    public String getProductWeight() {
        return productWeight;
    }

    public void setProductWeight(String productWeight) {
        this.productWeight = productWeight;
    }

    public Integer getProductId() {
        return productId;
    }

    public void setProductId(Integer productId) {
        this.productId = productId;
    }

    public String getProductName() {
        return productName;
    }

    public void setProductName(String productName) {
        this.productName = productName;
    }

    public String getProductPrice() {
        return productPrice;
    }

    public void setProductPrice(String productPrice) {
        this.productPrice = productPrice;
    }

    public Integer getProductNumber() {
        return productNumber;
    }

    public void setProductNumber(Integer productNumber) {
        this.productNumber = productNumber;
    }

    public String getProductTotal() {
        return productTotal;
    }

    public void setProductTotal(String productTotal) {
        this.productTotal = productTotal;
    }

    @Override
    public String toString() {
        return "Product{" +
                "productId=" + productId +
                ", productName='" + productName + '\'' +
                ", productPrice='" + productPrice + '\'' +
                ", productWeight='" + productWeight + '\'' +
                ", productNumber=" + productNumber +
                ", productTotal='" + productTotal + '\'' +
                '}';
    }
}
